package com.example.questionsystem.modules.qu.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class scoreList {
    @JsonProperty("hasSubQuestions")
    boolean hasSubQuestions;

    @JsonProperty("isParent")
    boolean isParent;
    @JsonProperty("isSubQuestion")
    boolean isSubQuestion;
    String parentId;
    String questionId;
    int  questionIndex;
    double score;
    int subIndex;
}
